define(["jquery", "template","scprit/department/view/template/assessmentScreening/peabodyScale-tpl.js"], function ($,template,$tpl) {
    var tpl={};
    tpl.basicInfoInit = function(options){
        $(options.id).html($tpl.basicInfoInit());
        var html = template("basicInfo-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.peabodyInit = function (options) {
        $(options.id).html($tpl.init());
        var html = template("peabody-tpl", options);
        $(options.id).html(html);
    };
    tpl.tabInit = function (options) {
        $(options.id).html($tpl.init2());
        var html = template("tab-tpl", options);
        $(options.id).html(html);
    };
    tpl.scoreTabInit = function (options) {
        $(options.id).html($tpl.init3());
        var html = template("scoreTab-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.bottomScoreInit = function (options) {
        $(options.id).html($tpl.init4());
        var html = template("bottomScore-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.topScoreInit = function (options) {
        $(options.id).html($tpl.init5());
        var html = template("topScore-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.userInfoInit = function (options) {
        $(options.id).html($tpl.init6());
        var html = template("userInfo-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.evaResultInit = function (options) {
        $(options.id).html($tpl.init7());
        var html = template("evaResult-tpl", options.data);
        $(options.id).html(html);
    };
    tpl.historyInit = function (options) {
        $(options.id).html($tpl.init8());
        var html = template("history-tpl", options);
        $(options.id).html(html);
    };
    tpl.tableInit = function (options) {
        $(options.id).html($tpl.init9());
        var html = template("table-tpl", options);
        $(options.id).html(html);
    };
    tpl.dialogInit = function (options) {
        $(options.id).html($tpl.dialog());
        var html = template("dialog-tpl", options.data);
        $(options.id).html(html);
    };
    return tpl;
});